package June.Test01extends;

public class Extends01GFather {
    String name;
    public  void  eat(){
        System.out.println("吃东西");
    }

    public void drink(){
        System.out.println("喝水");
    }

    public void song(){
        System.out.println("唱歌");
    }

    public String surname(){
        String su="刘";
        return su;
    }
}
